package wei.xinya.pattern.creational.singleton;

public class EnumSingletonTest {
    public static void main(String[] args) {
        SingletonEnum instance = SingletonEnum.INSTANCE;

        // output:枚举方法实现单例
        instance.doSomeThing();
    }
}
